package org.example.DesignPatterns.Template;

/**
 * @description:
 * @author: farprt
 * @create: 2022-09-18 18:38
 **/
public class Whale extends Mammal{
    @Override
    public void move() {
        System.out.println("游");
    }

    @Override
    public void eat() {
        System.out.println("吃鱼");
    }
}